package com.tarena.lbs.business.service;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.param.BusinessParam;
import com.tarena.lbs.business.pojo.query.BusinessQuery;
import com.tarena.lbs.business.pojo.vo.BusinessStoreVO;
import com.tarena.lbs.business.pojo.vo.BusinessVO;

public interface BusinessService {


    PageResult<BusinessVO> businessList(BusinessQuery businessQuery) throws BusinessException;

    void saveBusiness(BusinessParam param) throws BusinessException;

   BusinessStoreVO busiStoreDetail(Integer businessId) throws BusinessException;

    void updateBusiness(Integer businessId, BusinessParam param) throws BusinessException;

    void deleteBusiness(Integer businessId) throws BusinessException;
}
